package com.example.source_share.service.impl.file;

import com.example.source_share.service.file.FileUploadService;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.Map;

@Service
public class FileUploadServiceImpl implements FileUploadService {

    @Override
    public Map<String, String> addToFiles(MultipartFile file) { //添加文件
        Map<String,String> map = new HashMap<>();
        map.put("message","传送成功");

        return map;
    }
}
